The following topics detail how to customize the C1TreeView control's layout and appearance. You can use built-in layout options to lay your controls out in panels such as Grids or Canvases. Themes allow you to customize the appearance of the treeview and take advantage of WinRT's XAML-based styling.
You can customize the appearance of your treeview item by using the Header property. You can set the Header to be any object such as a stack panel containing an image and some text:
Markup |
Copy Code
|
---|---|
<C1TreeViewItem> <Xaml:C1TreeViewItem.Header> <StackPanel Orientation="Horizontal"> <Image Source="myImage,jpg"/> <TextBlock Text="My Text"/> </StackPanel> </Xaml:C1TreeViewItem.Header> </Xaml:C1TreeViewItem> |